﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Village.Master" AutoEventWireup="true" CodeBehind="findchild.aspx.cs" Inherits="Village_Project.findchild" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">

        .style2
        {
            width: 100%;
        }
        </style>
        
<!-- 
	After you copied those 2 lines of code , make sure you take also the files into the same folder :-)
    Next step will be to set the appropriate statement to "start-up" the calendar on the needed HTML element.
    
    The first example of Javascript snippet is for the most basic use , as a popup calendar
    for a text field input.
-->


</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">



 <div id="page">
        <div id="content">
            <div class="post">
            <link rel="stylesheet" type="text/css" media="all" href="Style/jsDatePick_ltr.min.css" />
           

                <h3>
                    ผลลัพท์การค้นหา</h3>
         
                </div>
                &nbsp;<asp:GridView ID="childlist" runat="server" AllowPaging="True" AllowSorting="True" 
                AutoGenerateColumns="False" 
                onpageindexchanging="familylist_SelectedIndexChanged">
                <Columns>
                    <asp:TemplateField HeaderText="ลำดับที่">
                        <ItemTemplate>
                        <%# Container.DataItemIndex + 1 %>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:HyperLinkField DataNavigateUrlFields="CID" 
                        DataNavigateUrlFormatString="~/reg.aspx?CID={0}" DataTextField="CID" 
                        HeaderText="เลขประชาชน" />
                    <asp:HyperLinkField DataNavigateUrlFields="CID" 
                        DataNavigateUrlFormatString="~/reg.aspx?CID={0}" 
                        DataTextField="FirstName" HeaderText="ชื่อ" />
                    <asp:HyperLinkField DataNavigateUrlFields="CID" 
                        DataNavigateUrlFormatString="~/reg.aspx?CID={0}" 
                        DataTextField="LastName" HeaderText="นามสกุล" />
                    <asp:HyperLinkField DataNavigateUrlFields="CID" 
                        DataNavigateUrlFormatString="~/reg.aspx?CID={0}" 
                        DataTextField="DisabilityType" HeaderText="ความด้อยโอกาศ" />
                </Columns>
                <AlternatingRowStyle BackColor="White" />
                <EditRowStyle BackColor="#2461BF" />
                <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                <PagerSettings FirstPageText="First" LastPageText="Last" 
                    Mode="NumericFirstLast" PageButtonCount="2" />
                <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
                <RowStyle BackColor="#EFF3FB" />
                <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
                <SortedAscendingCellStyle BackColor="#F5F7FB" />
                <SortedAscendingHeaderStyle BackColor="#6D95E1" />
                <SortedDescendingCellStyle BackColor="#E9EBEF" />
                <SortedDescendingHeaderStyle BackColor="#4870BE" />
            </asp:GridView>
            <asp:Button ID="Button3" runat="server" onclick="Button3_Click" 
                Text="ลงทะเบียนเด็กใหม่" />
            <br />    
            </div>



        <div id="sidebar">
		<ul>
			<li>
				<h2>Edit/Register</h2>
					<ul>
                          <li><a href="reg.aspx">ข้อมูลส่วนตัว</a></li>
                                     <li><a href="regfamily.aspx">ข้อมูลครอบครัว</a></li>
                         
                                             <li><a href="education.aspx" >ข้อมูลการศึกษา</a></li>
                                                 <li><a href="rightsinfo.aspx" >ข้อมูลสิทธิ</a></li>
					</ul>
				</li>
			</ul>
        </div>


    </div>
</asp:Content>
